package vip.xiaonuo.biz.modular.fzrole.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 分销人角色表实体
 *
 * @author xiao
 *
 **/
@Getter
@Setter
@TableName("biz_fz_role")
public class BizFzRole {

    /** ID */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID", position = 1)
    private String id;

    /** 角色名称 */
    @ApiModelProperty(value = "角色名称", position = 2)
    private String roleName;

    /** 分账角色 */
    @ApiModelProperty(value = "分账角色：字典：FXR_ROLE_NAME", position = 3)
    private String roleValue;

    /** 上级id */
    @ApiModelProperty(value = "上级id", position = 4)
    private String parentId;

    /** 分账类型 */
    @ApiModelProperty(value = "分账类型：字典：FXR_FY_TYPE", position = 5)
    private String fzType;

    /** 分账数值 */
    @ApiModelProperty(value = "分账数值", position = 6)
    private BigDecimal fzValue;

    /** DELETE_FLAG */
    @ApiModelProperty(value = "DELETE_FLAG", position = 7)
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private String deleteFlag;

    /** CREATE_USER */
    @ApiModelProperty(value = "CREATE_USER", position = 8)
    @TableField(fill = FieldFill.INSERT)
    private String createUser;

    /** CREATE_TIME */
    @ApiModelProperty(value = "CREATE_TIME", position = 9)
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /** UPDATE_USER */
    @ApiModelProperty(value = "UPDATE_USER", position = 10)
    @TableField(fill = FieldFill.UPDATE)
    private String updateUser;

    /** UPDATE_TIME */
    @ApiModelProperty(value = "UPDATE_TIME", position = 11)
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;
} 